home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1997
/
HAM Radio 1997.iso
/
vcls
/
multlang.000
/
example
/
mreg.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-04-08
|
1KB
|
48 lines
unit Mreg;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, Mcombbox, MultLang;
type
TRegister = class(TForm)
Memo1: TMemo;
MultLang1: TMultLang;
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure MultLang1Translate(Sender: TObject; LanguageName: String);
procedure MultLang1Translated(Sender: TObject; LanguageName: String;
Successful: Boolean);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Register: TRegister;
implementation
{$R *.DFM}
procedure TRegister.FormClose(Sender: TObject; var Action: TCloseAction);
begin
Action:=caFree;
end;
procedure TRegister.MultLang1Translate(Sender: TObject;
LanguageName: String);
begin
Memo1.Visible:=False;
end;
procedure TRegister.MultLang1Translated(Sender: TObject;
LanguageName: String; Successful: Boolean);
begin
Memo1.Visible:=True;
end;
end.